package com.shycloud.mido.music.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.domain.MisHotHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.music.dto.MisMusicCollectionDTO;
import com.shycloud.mido.music.vo.MisMusicVO;
import com.shycloud.mido.music.vo.MyCollectionVO;

public interface MisHotHistoryService extends IService<MisHotHistory> {

	/**
	 * 搜索曲集
	 *
	 * @param page
	 * @param keyword
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.shycloud.mido.music.dto.MisMusicCollectionDTO>
	 * @author nianhua.jiang
	 * @date 2020/7/1 18:47
	 */
	IPage<MisMusicCollectionDTO> searchCollection(Page page, String keyword, String flg);

	/**
	 * 搜索曲目
	 *
	 * @param page
	 * @param keyword
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.shycloud.mido.music.vo.MisMusicVO>
	 * @author nianhua.jiang
	 * @date 2020/7/2 9:40
	 */
	IPage<MisMusicVO> searchMusic(Page page, String keyword, String isCustom);
}
